package ch.fusun.baron.weather;

/**
 * updates the automaton by changing the data
 */
public interface AutomatonUpdater {

	/**
	 * Updates the cube from the surrounding 3x3 cubes
	 * 
	 * @param surroundingCubes
	 *            3x3 ([1][1][1] is corresponding to cube)
	 * @param cube
	 *            The cube
	 */
	void update(Cube[][][] surroundingCubes, Cube cube);

}
